package com.bocloud.cmp.dao.app;

import com.bocloud.cmp.entity.app.resource.OpenshiftClusterSecurity;

/**
 * openshift集群安全Dao接口
 * @author Zaney
 * @data:2017年4月1日
 * @describe:
 */
public interface OpenshiftClusterSecurityDao {
	/**
	 * 保存
	 * @param openshiftClusterSecurity
	 * @return
	 * @throws Exception
	 */
	public OpenshiftClusterSecurity save(OpenshiftClusterSecurity openshiftClusterSecurity) throws Exception;
	/**
	 * 删除
	 * @param openshiftClusterSecurity
	 * @return
	 * @throws Exception
	 */
	public boolean delete(OpenshiftClusterSecurity openshiftClusterSecurity) throws Exception;
	/**
	 * 查询
	 * @param clusterId
	 * @return
	 * @throws Exception
	 */
	public OpenshiftClusterSecurity getByClusterId(Long clusterId) throws Exception;
}
